package com.hotelmanage.manage.entities;

public class Building {
    public String buildingName;		// 楼栋名
    public Integer floorNum;		// 楼层数

    @Override
    public String toString() {
        return "Building{" +
                "buildingName='" + buildingName + '\'' +
                ", floorNum=" + floorNum +
                '}';
    }

    public void setBuildingName(String buildingName) {
        this.buildingName = buildingName;
    }

    public void setFloorNum(Integer floorNum) {
        this.floorNum = floorNum;
    }

    public String getBuildingName() {
        return buildingName;
    }

    public Integer getFloorNum() {
        return floorNum;
    }

    public Building(String buildingName, Integer floorNum) {
        this.buildingName = buildingName;
        this.floorNum = floorNum;
    }
}
